package cn.com.miao.lynx.common.core.constant

/**
 * ResultStatus
 * 自定义状态枚举 >=600
 * @title: ResultStatus
 * @description:
 * @author: dengmiao
 * @create: 2020-01-03 16:48
 **/
enum class ResultStatus(var value: Int, var desc: String) {
    // sentinel异常
    SENTINEL_DEGRADE_ERROR(600, "被降级规则阻挡"),
    SENTINEL_PARAM_ERROR(601, "被热点参数规则阻挡"),
    SENTINEL_SYSTEM_ERROR(602, "被系统规则阻挡"),
    SENTINEL_AUTHORITY_ERROR(603, "被授权规则阻挡"),
    SENTINEL_ERROR(699, "Unknown");
}
